
$imgSize: 90;
$imgMargin: 17;

:export {
  imgSize: $imgSize;
  imgMargin: $imgMargin;
}

.ImageContainer {
  position: relative;
  width: $imgSize + px;
  height: $imgSize + px;
  margin: $imgMargin + px;
  display: inline-block;
  line-height: $imgSize + px;
  overflow: hidden;
  text-align: center;
  color: #FFF;
  box-shadow: 0 0 10px 0 rgba(#000, 0.1);
}

.ImageContainerSourceSelected {
  opacity: 0.75;
  background: #666666;
}

.selected {
  box-shadow:0px 0px 0px 5px #007AFF inset;
}

.realImage {
  background:rgba(0, 0, 0, 0);
  cursor: pointer;
}

.ImageContainerSource {
  position: absolute;
  z-index: -1;
}

.ImageLabel {
  position: absolute;
  bottom:0px;
  left: 0px;
  padding: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
  background: #E0E6EE;
  font-family: Helvetica;
  font-size: 12px;
  color: #484856;
  line-height: 18px;
  border-radius: 0px 4px 0px 0px;
}

.LoadingContainer {
  position: absolute;
  width: $imgSize + px;
  height: $imgSize + px;
}

.bouncer {
  width: 5px;
  height: 5px;
  margin: 5px;

  margin-top: -webkit-calc(50% - 5px);
  margin-top:    -moz-calc(50% - 5px);
  margin-top:         calc(50% - 5px);

  box-shadow: 0 0 5px 0 rgba(#000, 0.3);

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.ImageContainer .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.ImageContainer .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}